package cn.wenzy.aurora.admin.modules.organization.bean;

import cn.wenzy.aurora.admin.modules.organization.enums.Sex;
import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("SYS_USER")
public class SysUser {

    @TableId
    private String userCode;

    private String userName;

    private String password;

    private String phoneNo;

    private String email;

    private Sex sex;

    @JSONField(format = "yyyy-MM-dd")
    private Date passwordUpdateDate;

    private Integer pageSize;

    private String image;

    private String status;

    private Integer sortNo;

    private String description;

    private String createdBy;

    private Date createdTime;

    private String updatedBy;

    private Date updatedTime;
}
